package com.weixin.engine.daily.extend;

/**
 * @author wangchunhui
 * @date 2023/1/28 14:31
 */
public class House2 extends House {

    @Override
    public String getName() {
        return "777777";
    }

    public static void main(String[] args) {
        House2 house = new House2();
        house.setName("小明");
        house.setAddress("杭州");
        System.out.println(house.toString());
        System.out.println(house.getAddress());
        System.out.println(house.getName());
    }
}
